package Joe.SiteManager.Web.Common;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.Preparable;

public abstract class PageBase extends ActionSupport implements Preparable {
	protected HttpServletRequest request(){
		return ServletActionContext.getRequest();
	}
	
	protected ServletContext context(){
		return ServletActionContext.getServletContext();
	}
}
